<script setup lang="ts">

const model = defineModel<{
  type: string
}>()

</script>

<template>
  <div class="attributes">
    <div class="placeholder" v-if="!model">
      请选择节点
    </div>
    {{ model?.type }}
  </div>
</template>
<style scoped lang="less">
.attributes {
  .placeholder {
    opacity: 0.5;
  }
}
</style>
